﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="ArtLand.OA.Project.Index" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>雅轩办公协同系统</title>

    <script src="js/jquery-1.4.1.min.js" type="text/javascript"></script>
    <%--<script>
        function ts() {
            Ext.MessageBox.show({
                title: "时间进度条",
                msg: "5s后关闭进度框",
                progress: true,
                width: 300,
                wait: true,
                waitConfig: {
                    interval: 600,
                    duration: 5000,
                    fn: function () {
                        Ext.MessageBox.hide(); //让进度条消失
                    } 
                },
                closable: true
            });
        }
    </script>--%>
    <style type="text/css">
        <!--
        body
        {
            background: url(/images/topbg.gif) repeat-x;
            font: 12px/18px Verdana, Simsun, Helvetica, Arial, sans-serif;
        }

        #top
        {
            height: 98px;
            background: url(/images/topbg.gif) repeat-x;
        }

        #logo
        {
            float: left;
            width: 243px;
            clear: both;
            height: 88px;
            padding-top: 6px;
        }

        .tree_menu
        {
            border-top: 1px solid #8DB2E3;
        }

        .tree_menu1
        {
            border-top: 1px solid #D0D0D0;
        }

        .tree_menu2
        {
            border-top: 1px solid #abe898;
        }

        .tree_menu3
        {
            border-top: 1px solid #18181a;
        }

        .tree_menu4
        {
            border-top: 1px solid #be98e8;
        }

        .tree_menu5
        {
            border-top: 1px solid #e8c598;
        }

        .tree_menu6
        {
            border-top: 1px solid #D0D0D0;
        }

        .citywidth
        {
            width: 80px;
            display: inline-block;
            padding-left: 5px;
            padding-right: 3px;
            line-height: 1.7;
        }

        a
        {
            color: #333;
            text-decoration: none;
        }

        #CNOA_LOGO
        {
            width: 160px;
            height: 46px;
            display: block;
            background-repeat: no-repeat;
            background-position: 0 top;
        }
        -->
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <ext:PageManager ID="PageManager1" AutoSizePanelID="RegionPanel1" runat="server"></ext:PageManager>
        <ext:Timer runat="server" ID="time1" EnableAjaxLoading="false" Enabled="true" Interval="30" OnTick="time1_Tick"></ext:Timer>
        <ext:Timer runat="server" ID="Timer2" EnableAjaxLoading="false" Enabled="true" Interval="7200" OnTick="Timer2_Tick"></ext:Timer>
        <ext:RegionPanel ID="RegionPanel1" ShowBorder="false" runat="server" EnableBackgroundColor="true">
            <Toolbars>
                <ext:Toolbar Position="Bottom" Height="25px">
                    <Items>
                        <ext:ToolbarText runat="server" ID="ToolbarText1"></ext:ToolbarText>
                        <ext:ToolbarFill></ext:ToolbarFill>
                        <ext:ToolbarText runat="server" ID="TText"></ext:ToolbarText>
                    </Items>
                </ext:Toolbar>
                <ext:Toolbar Position="Top" Height="45px">
                    <Items>
                        <ext:ToolbarText CssStyle="height:45px;" Text="<a href='javascript:;' style='background-image: url(/images/top.png);' id='CNOA_LOGO' onclick='window.location.href=location.href;' ext:qtip='点击刷新本系统'></a>">
                        </ext:ToolbarText>
                        <ext:ToolbarFill></ext:ToolbarFill>
                        <ext:ContentPanel ShowBorder="false" ShowHeader="false" EnableBackgroundColor="true">
                            <div style="width: 1040px;" id="dd1">
                                <div style="float: right;">
                                    <div id="ext-comp-1128" class=" x-btn-group x-btn-group-notitle" style="width: 255px;">
                                        <div class="x-btn-group-tl">
                                            <div class="x-btn-group-tr">
                                                <div class="x-btn-group-tc"></div>
                                            </div>
                                        </div>
                                        <div class="x-btn-group-bwrap" id="AAEF">
                                            <div class="x-btn-group-ml">
                                                <div class="x-btn-group-mr">
                                                    <div class="x-btn-group-mc" id="TGR">
                                                        <div class="x-btn-group-body x-table-layout-ct" id="ASDFASDF" style="width: 255px;">
                                                            <table class="x-table-layout" cellspacing="0" id="AAAD">
                                                                <tbody>
                                                                    <tr>
                                                                        <td class="x-table-layout-cell" id="TD3">
                                                                            <ext:Button Icon="Key" ID="ChangePwd" runat="server" Text="修改密码">
                                                                            </ext:Button>
                                                                        </td>
                                                                        <td class="x-table-layout-cell" id="Td1">
                                                                            <ext:Button runat="server" ID="btnHelp" Icon="Theme" Text="主题更改" EnablePostBack="false">
                                                                                <Menu>
                                                                                    <ext:MenuCheckBox Text="默认主题" ID="M_gray" OnCheckedChanged="ddlTheme_SelectedIndexChanged" GroupName="MenuLang" AutoPostBack="true"
                                                                                        runat="server">
                                                                                    </ext:MenuCheckBox>
                                                                                    <ext:MenuCheckBox Text="海蓝色" ID="M_blue" OnCheckedChanged="ddlTheme_SelectedIndexChanged" GroupName="MenuLang" AutoPostBack="true"
                                                                                        runat="server">
                                                                                    </ext:MenuCheckBox>
                                                                                    <ext:MenuCheckBox Text="亮红色" ID="M_silverCherry" OnCheckedChanged="ddlTheme_SelectedIndexChanged" GroupName="MenuLang" AutoPostBack="true"
                                                                                        runat="server">
                                                                                    </ext:MenuCheckBox>
                                                                                </Menu>
                                                                            </ext:Button>
                                                                            <ext:Button Text="关于系统"></ext:Button>
                                                                        </td>
                                                                        <td class="x-table-layout-cell" id="Td2">
                                                                            <ext:Button ID="Button1" runat="server" IconUrl="~/icon/system-shutdown.png" Text="安全退出" OnClick="LogOut">
                                                                            </ext:Button>
                                                                        </td>

                                                                    </tr>
                                                                </tbody>
                                                            </table>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="x-btn-group-bl x-panel-nofooter" id="ext-gen228">
                                                <div class="x-btn-group-br">
                                                    <div class="x-btn-group-bc"></div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div style="float: right;">
                                    <div id="Div1" class=" x-btn-group x-btn-group-notitle" style="width: 972px;">
                                        <div class="x-btn-group-tl">
                                            <div class="x-btn-group-tr">
                                                <div class="x-btn-group-tc"></div>
                                            </div>
                                        </div>
                                        <div class="x-btn-group-bwrap" id="Div2">
                                            <div class="x-btn-group-ml">
                                                <div class="x-btn-group-mr">
                                                    <div class="x-btn-group-mc" id="Div3">
                                                        <div class="x-btn-group-body x-table-layout-ct" id="Div4" style="width: 972px;">
                                                            <table class="x-table-layout" cellspacing="0" id="Table1">
                                                                <tbody>
                                                                    <tr>
                                                                        <td class="x-table-layout-cell" id="Td3">
                                                                            <ext:Button ID="Button4" runat="server" Text="提醒" Icon="Lightbulb" OnClick="Button4_Click">
                                                                            </ext:Button>
                                                                        </td>
                                                                        <td class="x-table-layout-cell" id="Td4">
                                                                            <ext:Button Text="未创建合同项目" runat="server" ID="btn1" Hidden="true" OnClick="btn1_Click"></ext:Button>
                                                                        </td>
                                                                        <td class="x-table-layout-cell" id="Td5">
                                                                            <ext:Button Text="未创建订单合同" runat="server" ID="btn2" Hidden="true" OnClick="btn2_Click"></ext:Button>
                                                                        </td>
                                                                        <td class="x-table-layout-cell" id="Td6">
                                                                            <ext:Button Text="未审批采购订单" runat="server" ID="btn3" Hidden="true" OnClick="btn3_Click"></ext:Button>
                                                                        </td>
                                                                        <td class="x-table-layout-cell" id="Td7">
                                                                            <ext:Button Text="未收货订单" runat="server" ID="btn4" Hidden="true" OnClick="btn4_Click"></ext:Button>
                                                                        </td>
                                                                        <td class="x-table-layout-cell" id="Td8">
                                                                            <ext:Button Text="未送货合同" runat="server" ID="btn5" Hidden="true" OnClick="btn5_Click"></ext:Button>
                                                                        </td>
                                                                        <td class="x-table-layout-cell" id="Td9">
                                                                            <ext:Button Text="进行中项目" runat="server" ID="btn6" Hidden="true" OnClick="btn6_Click"></ext:Button>
                                                                        </td>
                                                                        <td class="x-table-layout-cell" id="Td10">
                                                                            <ext:Button Text="未审批出样费用" runat="server" ID="btn7" Hidden="true" OnClick="btn7_Click"></ext:Button>
                                                                        </td>
                                                                        <td class="x-table-layout-cell" id="Td11">
                                                                            <ext:Button Text="后续跟单" runat="server" ID="btn8" Hidden="true" OnClick="btn8_Click"></ext:Button>
                                                                        </td>
                                                                         <td class="x-table-layout-cell" id="Td12">
                                                                            <ext:Button Text="未审批行政费用" runat="server" ID="btn9" Hidden="true" OnClick="btn9_Click"></ext:Button>
                                                                        </td>
                                                                        <td class="x-table-layout-cell" id="Td13">
                                                                            <ext:Button Text="更多" runat="server" ID="Button2" EnablePostBack="false">
                                                                                <Menu>
                                                                                </Menu>
                                                                            </ext:Button>
                                                                        </td>
                                                                        <%--<td class="x-table-layout-cell" id="Td5">
                                                                            <ext:Button ID="Button6" IconUrl="~/icon/calendart.png" Text="计划" ToolTip="工作计划" runat="server"></ext:Button>
                                                                        </td>--%>
                                                                        <%-- <td class="x-table-layout-cell" id="Td6">
                                                                        <ext:Button ID="Button7" IconUrl="~/icon/task.gif" Text="任务" ToolTip="工作任务" runat="server"></ext:Button>
                                                                    </td>--%>
                                                                        <%-- <td class="x-table-layout-cell" id="Td7">
                                                                            <ext:Button ID="Button8" IconUrl="~/icon/icon-cnoa-communication.png" Text="客户" ToolTip="客户管理" runat="server"></ext:Button>
                                                                        </td>--%>
                                                                    </tr>
                                                                </tbody>
                                                            </table>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="x-btn-group-bl x-panel-nofooter" id="Div5">
                                                <div class="x-btn-group-br">
                                                    <div class="x-btn-group-bc"></div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </ext:ContentPanel>
                    </Items>
                </ext:Toolbar>
            </Toolbars>
            <Regions>
                <ext:Region ID="Region2" Split="true" EnableSplitTip="true" CollapseMode="Mini" EnableCollapse="true"
                    Width="174px" ShowHeader="true" Title="功能菜单" Icon="Outline" Margins="5 0 5 0"
                    Layout="Fit" Position="Left" runat="server">
                    <Items>
                        <ext:TabStrip ID="TabStrip1" Width="950px" Height="300px" ShowBorder="false" ActiveTabIndex="0"
                            runat="server">
                        </ext:TabStrip>
                    </Items>
                </ext:Region>
                <ext:Region ID="mainRegion" ShowHeader="false" Layout="Fit" Position="Center" Margins="5 0 5 0">
                    <Items>
                        <ext:TabStrip ID="mainTabStrip" EnableTabCloseMenu="true" ShowBorder="false" runat="server">
                            <Tabs>
                                <ext:Tab ID="Tab2" Title="我的首页" Layout="Fit" IconUrl="~/icon/home.png" runat="server" EnableIFrame="true"
                                    IFrameUrl="/Main.aspx">
                                </ext:Tab>
                            </Tabs>
                        </ext:TabStrip>
                    </Items>
                </ext:Region>
            </Regions>
        </ext:RegionPanel>
        <ext:Window ID="Window4" Title="自定义桌面" Popup="false" runat="server" BodyPadding="5px" Target="Top" IsModal="True" Width="126px" Height="204px">
            <Toolbars>
                <ext:Toolbar>
                    <Items>
                        <ext:Button runat="server" ID="btnDeskSave" Text="确定" Icon="Accept" OnClick="btnDeskSave_Click"></ext:Button>
                    </Items>
                </ext:Toolbar>
            </Toolbars>
            <Items>
                <ext:CheckBoxList runat="server" ID="chkList" ColumnNumber="1">
                    <ext:CheckItem Text="我的消息" Value="a1;0;0" />
                    <ext:CheckItem Text="公司新闻" Value="a2;0;1" />
                    <ext:CheckItem Text="公司通知" Value="a3;1;0" />
                    <ext:CheckItem Text="待办已办" Value="b1;1;1" />
                    <ext:CheckItem Text="日程安排" Value="b2;2;0" />
                </ext:CheckBoxList>
            </Items>
        </ext:Window>
        <ext:Window ID="Window1" Title="编辑" Popup="false" EnableIFrame="true" runat="server"
            CloseAction="HidePostBack" EnableConfirmOnClose="true" IFrameUrl="about:blank"
            Target="Top" IsModal="True" Width="516px" Height="274px">
        </ext:Window>
        <ext:Window ID="Window2" Title="编辑" Popup="false" EnableIFrame="true" runat="server"
            IFrameUrl="about:blank" IsModal="True" Width="350px" Height="200px">
        </ext:Window>
        <ext:Window ID="Window3" Title="编辑" Popup="false" EnableIFrame="true" runat="server"
            CloseAction="HidePostBack" EnableConfirmOnClose="true" IFrameUrl="about:blank"
            Target="Top" IsModal="false" Width="480px" Height="150px">
        </ext:Window>
        <ext:Button runat="server" ID="hid_btn" OnClick="hid_btn_Click"></ext:Button>
    </form>
    <script type="text/javascript">

        var IDS = {
            mainTabStrip: '<%= mainTabStrip.ClientID %>'
        };

    </script>
    <script src="js/default.js"></script>
    <script src="js/WebCommon.js"></script>
    <script>
        function ShowDiv(n) {
            if (n == 60) {
                $("#dd1").width(270);
                $("#Div1").width(0);
                //document.getElementById("Div1").style.display = "none";
                //$("#Div1").style("display", "none");
            }
            else {
                $("#dd1").width(270 + n);
                $("#Div1").width(n);
            }
        }
    </script>
</body>
</html>
